//
//  TTViewController.h
//  Tint
//
//  Created by Kevin Wu on 2/22/12.
//  Copyright (c) 2012 Telligenty. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "TTCore.h"
#import "TTAdditions.h"


@interface TTViewController : UIViewController {
    BOOL _viewAppeared;
    NSUInteger _appearedTimes;
    BOOL _observeKeyboard;
    BOOL _contentLoading;
}

@property(nonatomic, readonly) BOOL viewAppeared;
@property(nonatomic, readonly) NSUInteger appearedTimes;
@property(nonatomic, assign) BOOL observeKeyboard;
@property(nonatomic, assign) BOOL contentLoading;

- (void)keyboardWillShow:(NSNotification *)notification;
- (void)keyboardWillHide:(NSNotification *)notification;
- (void)keyboardDidShow:(NSNotification *)notification;
- (void)keyboardDidHide:(NSNotification *)notification;

- (void)setLoadingState;
- (void)setNormalState;

@end
